//
//  YQSettingCell.m
//  GBKTrade
//
//  Created by admin on 2019/4/18.
//  Copyright © 2019 LionIT. All rights reserved.
//

#import "YQSettingCell.h"

@implementation YQSettingCell

- (void)cellWithPaymentArr:(NSMutableArray *)paymentArr withTotalArr:(NSMutableArray *)totalArr withIndex:(NSIndexPath *)indexPath {
    //未绑定为蓝色  已绑定为灰色
//    cell.chooseLanguageLab.textColor = [UIColor blueColor];
//    cell.chooseLanguageLab.text = @"去绑定";
//    NSString *elementStr;
    
//    if ([paymentArr[0] isEqualToString:@"a"]) {
//        //未绑定支付方式
//        self.chooseLanguageLab.textColor = [UIColor blueColor];
//        self.chooseLanguageLab.text = @"去绑定";
//
//    }else {
//         //绑定了支付方式
//        for (NSString *element in paymentArr ) {
//            if (paymentArr.count == 1) {
//                //只有一个元素
//
//            }
//        }
//    }
    
//    for (NSString *element in paymentArr) {
//        //如果为字符串
//        if ([element isEqualToString:@"a"]) {
//            self.chooseLanguageLab.textColor = [UIColor blueColor];
//            self.chooseLanguageLab.text = @"去绑定";
//        }else {
//            //有支付方式
//            if (paymentArr.count == 1) {
//                if ([element integerValue] == 1) {
//                    //微信
//
//                }
//            }
//        }
//    }
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.chooseLanguageLab.hidden = YES;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
